home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / gnuplsrc.zip / GNUSHELL.RC < prev    next >
Text File  |  1993-03-21  |  7KB  |  171 lines

  1. #include <os2.h>
  2. #include "dispdefs.h"
  3.  
  4. ICON 1 "gnu2.ico"
  5.  
  6.  
  7. MENU 1
  8. BEGIN
  9.     SUBMENU  "~Options" , IDM_FILE
  10.     BEGIN
  11.         MENUITEM    "~Print..."   , IDM_PRINT
  12.         MENUITEM    "~Fonts...", IDM_FONTS
  13.         MENUITEM    "~Colours",  IDM_COLOURS,,MIA_CHECKED
  14.         MENUITEM    "~Lines", IDM_LINES
  15.     END
  16.     SUBMENU "~Help", 1
  17.     BEGIN
  18.         MENUITEM "~Help for Help...",    IDM_HELPFORHELP
  19.         MENUITEM "~Extended Help...",    IDM_EXTENDEDHELP
  20.         MENUITEM "~Keys Help...",        IDM_KEYSHELP
  21.         MENUITEM "Help ~index...",       IDM_HELPINDEX
  22.         MENUITEM SEPARATOR
  23.         MENUITEM "A~bout...",            IDM_ABOUT
  24.     END
  25. END
  26.  
  27. ACCELTABLE 1
  28. BEGIN
  29.     "^f", IDM_FILE
  30. END
  31.  
  32. DLGTEMPLATE ID_ABOUT LOADONCALL MOVEABLE DISCARDABLE 
  33. BEGIN
  34.     DIALOG "", ID_ABOUT, 22, 17, 144, 75, FS_DLGBORDER | WS_CLIPSIBLINGS | 
  35.                 WS_SAVEBITS
  36.     BEGIN
  37.         CONTROL "Gnushell", 65535, 8, 65, 128, 8, WC_STATIC, SS_TEXT | 
  38.                 DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  39.         CONTROL "Gnuplot display for OS/2", 65535, 8, 50, 128, 8, WC_STATIC, 
  40.                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  41.         CONTROL "Version 1.0", 65535, 8, 35, 128, 8, WC_STATIC, SS_TEXT | 
  42.                 DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  43.         CONTROL "OK", DID_OK, 56, 10, 32, 14, WC_BUTTON, BS_PUSHBUTTON | 
  44.                 BS_DEFAULT | WS_GROUP | WS_TABSTOP | WS_VISIBLE
  45.     END
  46. END
  47. DLGTEMPLATE ID_QPRINT LOADONCALL MOVEABLE DISCARDABLE 
  48. BEGIN
  49.     DIALOG "Gnushell: printer setup", ID_QPRINT, 107, 45, 220, 151, FS_NOBYTEALIGN | 
  50.                 FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS, 
  51.                 FCF_TITLEBAR
  52.     BEGIN
  53.         CONTROL "", IDD_QPRYFRAC, 168, 63, 39, 8, WC_ENTRYFIELD, ES_LEFT | 
  54.                 ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  55.         CONTROL "", IDD_QPRXFRAC, 168, 47, 39, 8, WC_ENTRYFIELD, ES_LEFT | 
  56.                 ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  57.         CONTROL "OK", DID_OK, 6, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  58.                 BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
  59.         CONTROL "Cancel", DID_CANCEL, 52, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  60.                 WS_TABSTOP | WS_VISIBLE
  61.         CONTROL "Help", DID_HELP, 173, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  62.                 BS_HELP | WS_TABSTOP | WS_VISIBLE
  63.         CONTROL "Horizontal size:", 65535, 8, 47, 70, 8, WC_STATIC, SS_TEXT | 
  64.                 DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  65.         CONTROL "Vertical size:", 65535, 8, 63, 66, 8, WC_STATIC, SS_TEXT | 
  66.                 DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  67.         CONTROL "Text", IDD_QPRXSIZE, 83, 47, 36, 12, WC_ENTRYFIELD, ES_RIGHT | 
  68.                 ES_READONLY | WS_TABSTOP | WS_VISIBLE
  69.         CONTROL "Text", IDD_QPRYSIZE, 83, 63, 36, 12, WC_ENTRYFIELD, ES_RIGHT | 
  70.                 ES_READONLY | WS_TABSTOP | WS_VISIBLE
  71.         CONTROL "Enter fraction of indicated size:", 65535, 9, 79, 143, 8, 
  72.                 WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  73.         CONTROL "cm", 65535, 131, 63, 13, 8, WC_STATIC, SS_TEXT | DT_LEFT | 
  74.                 DT_TOP | WS_GROUP | WS_VISIBLE
  75.         CONTROL "cm", 65535, 131, 47, 13, 8, WC_STATIC, SS_TEXT | DT_LEFT | 
  76.                 DT_TOP | WS_GROUP | WS_VISIBLE
  77.         CONTROL "Set printer...", IDD_QPRSETPR, 98, 5, 68, 13, WC_BUTTON, 
  78.                 BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
  79.         CONTROL "Set page..", IDD_QPRTRACK, 8, 130, 56, 13, WC_BUTTON, 
  80.                 BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
  81.         CONTROL "Text", IDD_QPRBOX, 84, 96, 98, 49, WC_STATIC, SS_FGNDRECT | 
  82.                 WS_GROUP | WS_VISIBLE
  83.         CONTROL "", IDD_QPRFRAME, 87, 108, 71, 34, WC_STATIC, SS_HALFTONERECT | 
  84.                 WS_GROUP | WS_VISIBLE
  85.         CONTROL "Filename:", 65535, 8, 31, 50, 8, WC_STATIC, SS_TEXT | 
  86.                 DT_LEFT | DT_TOP | DT_HALFTONE | WS_GROUP | WS_VISIBLE
  87.         CONTROL "", IDD_QPRNAME, 63, 31, 75, 8, WC_ENTRYFIELD, ES_LEFT | 
  88.                 ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  89.     END
  90. END
  91.  
  92. DLGTEMPLATE ID_PRINT LOADONCALL MOVEABLE DISCARDABLE 
  93. BEGIN
  94.     DIALOG "Gnushell: Print", ID_PRINT, 104, 45, 220, 122, FS_NOBYTEALIGN | 
  95.                 FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS, 
  96.                 FCF_TITLEBAR
  97.     BEGIN
  98.         CONTROL "OK", DID_OK, 6, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  99.                 BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
  100.         CONTROL "Cancel", DID_CANCEL, 52, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  101.                 WS_TABSTOP | WS_VISIBLE
  102.         CONTROL "Help", DID_HELP, 176, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  103.                 BS_HELP | WS_TABSTOP | WS_VISIBLE
  104.         CONTROL "Setup printer...", IDD_PRINTSETUP, 98, 5, 71, 13, WC_BUTTON, 
  105.                 BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
  106.         CONTROL "Select object to print", 65535, 11, 49, 197, 61, WC_STATIC, 
  107.                 SS_GROUPBOX | WS_VISIBLE
  108.         CONTROL "Viewed page", IDD_PRINTPIC, 41, 86, 112, 10, WC_BUTTON, 
  109.                 BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP | WS_VISIBLE
  110.         CONTROL "Print to file named:", IDD_PRINTQNAME, 11, 31, 89, 8, 
  111.                 WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_HALFTONE | WS_GROUP | 
  112.                 WS_VISIBLE
  113.         CONTROL "", IDD_QPRNAME, 108, 31, 99, 8, WC_ENTRYFIELD, ES_LEFT | 
  114.                 ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  115.     END
  116. END
  117.  
  118. DLGTEMPLATE IDD_FONTS LOADONCALL MOVEABLE DISCARDABLE 
  119. BEGIN
  120.     DIALOG "", IDD_FONTS, 47, 44, 253, 140, FS_NOBYTEALIGN | FS_DLGBORDER | 
  121.                 WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS
  122.     BEGIN
  123.         CONTROL "OK", DID_OK, 9, 4, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  124.                 BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
  125.         CONTROL "Cancel", DID_CANCEL, 52, 4, 38, 13, WC_BUTTON, BS_PUSHBUTTON | 
  126.                 WS_TABSTOP | WS_VISIBLE
  127.         CONTROL "", IDD_HLIST, 8, 53, 241, 79, WC_LISTBOX, LS_HORZSCROLL | 
  128.                 WS_TABSTOP | WS_VISIBLE
  129.         CONTROL "Size:", 65535, 11, 33, 28, 8, WC_STATIC, SS_TEXT | DT_LEFT | 
  130.                 DT_TOP | WS_GROUP | WS_VISIBLE
  131.         CONTROL "", IDD_FONTSIZE, 45, 33, 23, 8, WC_ENTRYFIELD, ES_LEFT | 
  132.                 ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  133.         CONTROL "Sample:", 65535, 84, 33, 35, 8, WC_STATIC, SS_TEXT | DT_LEFT | 
  134.                 DT_TOP | WS_GROUP | WS_VISIBLE
  135.         CONTROL "AbBbCcDdEe12345", IDD_FONTEX, 128, 29, 114, 17, WC_ENTRYFIELD, 
  136.                 ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
  137.     END
  138. END
  139.  
  140. HELPSUBTABLE 1
  141. BEGIN
  142.     HELPSUBITEM  IDH_EXTENDED, IDH_EXTENDED
  143.     HELPSUBITEM  IDM_PRINT ,IDM_PRINT 
  144.     HELPSUBITEM  IDM_FONTS ,IDM_FONTS 
  145.     HELPSUBITEM  IDM_FILE ,IDM_FILE 
  146.     HELPSUBITEM  IDM_ABOUT ,IDM_ABOUT 
  147.     HELPSUBITEM  IDM_COLOURS ,IDM_COLOURS 
  148.     HELPSUBITEM  IDM_LINES ,IDM_LINES 
  149. END
  150. HELPSUBTABLE ID_PRINT
  151. BEGIN
  152.     HELPSUBITEM  ID_PRINT, ID_PRINT
  153. END
  154. HELPSUBTABLE ID_QPRINT
  155. BEGIN
  156.     HELPSUBITEM  ID_QPRINT, ID_QPRINT
  157. END
  158. HELPSUBTABLE IDD_FONTS
  159. BEGIN
  160.     HELPSUBITEM  IDD_FONTS, IDD_FONTS
  161. END
  162. HELPTABLE 1
  163. BEGIN
  164.     HELPITEM 1, 1, IDH_EXTENDED
  165.     HELPITEM ID_QPRINT, ID_QPRINT, ID_QPRINT
  166.     HELPITEM ID_PRINT, ID_PRINT, ID_PRINT
  167.     HELPITEM IDD_FONTS, IDD_FONTS, IDD_FONTS
  168. END
  169.  
  170.  
  171.